<template>
  <NavBar title='药省心' :arrow='true' />
  <div>文章的id是{{ id }}</div>
</template>

<script>
import NavBar from '@/components/NavBar'
import { useRoute } from 'vue-router'
export default {
  components:{NavBar},
  setup() {
    let route = useRoute()
    let id = route.query.id
    return {
      id,
    }
  },
}
</script>

<style lang="less" scoped>

</style>
